﻿using HYRN.Common.MyHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Test.NewFolder1;

namespace Test
{
    static class Program
    {
        static int hookID;
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {

            // 3F 80 00 00 分组标定正向系数[0]      1.0
            //var rr = EdgeConvert.GetVal_DuQuLingDian(new byte[] { 0x3f, 0x80, 0x00, 0x00 });



            //Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            //Application.ThreadException += Application_ThreadException;
            //AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
             Application.Run(new Form1());
        }



        static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            MessageBox.Show(e.Exception.Message);
        }

        static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
        {
            MessageBox.Show(((Exception)e.ExceptionObject).Message);
        }

    }
}
